const API_CONFIG = [
    {
        name: "getTable",
        setCommonParam: true,
        namespace: "process",
        method: "get",
        headers: {
            "Content-Type": "application/json; charset=UTF-8"
        },
        params: {},
        path: "/management/process/processDefinition/list",
        desc: "获取流程管理表格"
    },
    {
        name: "delete",
        setCommonParam: true,
        namespace: "process",
        method: "get",
        params: {},
        path: "/management/process/processDefinition/delete",
        desc: "删除流程"
    },
    {
        name: "processBind",
        setCommonParam: true,
        namespace: "process",
        headers: {
            "Content-Type": "application/json"
        },
        method: "post",
        params: {},
        path: "/management/process/bind",
        desc: "流程表单绑定"
    },
    {
        name: "updateProcess",
        setCommonParam: true,
        namespace: "process",
        headers: {
            "Content-Type": "application/json"
        },
        method: "post",
        params: {},
        path: "/management/process/create",
        desc: "编辑流程"
    },
    {
        name: "getProcessInfo",
        setCommonParam: true,
        namespace: "process",
        headers: {
            "Content-Type": "application/json"
        },
        method: "get",
        params: {},
        path: "/management/process/processDefinition/image",
        desc: "获取流程信息"
    },
    {
        name: "getProcessModelInfo",
        setCommonParam: true,
        namespace: "process",
        headers: {
            "Content-Type": "application/json"
        },
        method: "get",
        params: {},
        path: "/management/process/get",
        desc: "获取模型信息"
    },
    {
        name: "getFormList",
        namespace: "process",
        method: "get",
        headers: {
            "Content-Type": "application/json; charset=UTF-8"
        },
        setCommonParam: true,
        params: {},
        mock: {
            open: false
        },
        path: "/management/template/list",
        desc: "获取关联表单列表"
    },
    {
        name: "getGovernmentUser",
        namespace: "process",
        method: "post",
        setCommonParam: true,
        params: {},
        mock: {
            open: false
        },
        path: "/management/user/listByGovernment",
        desc: "获取区域下所有人员不包含本级区域"
    }
];
export default API_CONFIG;
